import {
  HTTP
} from '../utils/http.js'
class LikeMode extends HTTP {
  like(haveGive, artID, category) {
    // let url = haveGive == 'like' ? 'like' : 'like/cancel'
    this.request({
      url: 'musicRankingsDetails?type=3',
      method: 'POST',
      data: {
        art_id: artID,
        type: category
      }
    })
  }
}

export {LikeMode}